Skip to content

Conversation

@Megasware128
Copy link
Contributor

This fixes the first problem described in issue #1342. Otherwise the checksum would always be failing on Alpine

Copy link
Owner

@itzg itzg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! This approach is one of the last pieces of the puzzle to add Alpine to the matrix builds, such as

https://github.com/itzg/docker-minecraft-server/actions/runs/1806504323

@itzg itzg merged commit 4cb2276 into itzg:master Feb 9, 2022
@Megasware128 Megasware128 deleted the checksum branch February 9, 2022 13:12
@itzg
Copy link
Owner

itzg commented Feb 10, 2022

...and FYI the final piece in the puzzle: #1349

@Megasware128
Copy link
Contributor Author

@itzg might be fun to know that the get distro line was written by GitHub Copilot 😆

@itzg
Copy link
Owner

itzg commented Feb 10, 2022

That is a fun fact especially since I was impressed it can be determined in one shot like that. Oh...I might be thinking of further retrieving the distro version.

@Megasware128
Copy link
Contributor Author

@itzg This is what Copilot makes of it:

# Get distro version
distro_version=$(cat /etc/os-release | grep -E "^VERSION_ID=" | cut -d= -f2 | sed -e 's/"//g')

Basically same strategie

@itzg
Copy link
Owner

itzg commented Feb 10, 2022

Aha, it's the pre systemd days that I'm remembering...and didn't realize systemd also included os-release

http://0pointer.de/blog/projects/os-release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants